package com.ruoyi.multab.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型参数对象 mul_model_param
 * 
 * @author zhouwc
 * @date 2020-08-10
 */
public class MulModelParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 模型ID */
    @Excel(name = "模型ID")
    private String mainId;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String paramName;

    /** 参数字段 */
    @Excel(name = "参数字段")
    private String paramField;

    /** 参数默认值 */
    @Excel(name = "参数默认值")
    private String paramValue;

    /** 参数顺序 */
    @Excel(name = "参数顺序")
    private Integer paramIndex;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMainId(String mainId) 
    {
        this.mainId = mainId;
    }

    public String getMainId() 
    {
        return mainId;
    }
    public void setParamName(String paramName) 
    {
        this.paramName = paramName;
    }

    public String getParamName() 
    {
        return paramName;
    }
    public void setParamField(String paramField) 
    {
        this.paramField = paramField;
    }

    public String getParamField() 
    {
        return paramField;
    }
    public void setParamValue(String paramValue) 
    {
        this.paramValue = paramValue;
    }

    public String getParamValue() 
    {
        return paramValue;
    }
    public void setParamIndex(Integer paramIndex) 
    {
        this.paramIndex = paramIndex;
    }

    public Integer getParamIndex() 
    {
        return paramIndex;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mainId", getMainId())
            .append("paramName", getParamName())
            .append("paramField", getParamField())
            .append("paramValue", getParamValue())
            .append("paramIndex", getParamIndex())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
